<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>大小字排序任务清单</title>
    <link rel="stylesheet" href="style.css">
    <script src="https://cdn.jsdelivr.net/npm/sortablejs@1.14.0/Sortable.min.js"></script>
    <style>
        /* 添加中轴线效果 */
        .container::after {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            height: 100%;
            width: 1px;
            background-color: rgba(255, 255, 255, 0.1);
            z-index: 0;
            pointer-events: none;
        }
        
        .container {
            position: relative;
        }
        
        html, body {
            width: 100%;
            height: 100%;
            margin: 0;
            padding: 0;
            overflow-x: hidden;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header-container">
            <div class="left-buttons">
                <button id="importFromFileBtn" class="import-btn">从文件导入</button>
                <input type="file" id="fileInput" accept=".txt" style="display: none;">
            </div>
            <h1>大小字排序任务清单</h1>
            <div class="header-buttons">
                <button id="copyAllBtn" class="action-btn">拷贝所有内容到剪切板</button>
                <button id="copyAndClearBtn" class="action-btn">拷贝所有内容到剪切板并清空</button>
                <button id="exportAndClearBtn" class="import-btn">导出并清空</button>
            </div>
        </div>
        
        <div class="task-input">
            <input type="text" id="taskInput" placeholder="请输入新任务...">
            <button id="addTask">添加</button>
        </div>
        
        <ul id="taskList" class="task-list">
            <!-- 任务将通过JavaScript动态添加 -->
        </ul>
        <!-- 删除底部任务的按钮将通过JavaScript动态添加 -->
    </div>
    
    <script src="script.js"></script>
</body>
</html>